package com.chiga.action;

import java.util.HashMap;
import java.util.Map;

import com.chiga.controller.PagedAction;

public abstract class AbstractPagedAction extends PagedAction {

	private static final long serialVersionUID = -5876527110474245586L;
	
	public static final String INPUT1 = "input1";
	public static final String INPUT2 = "input2";
	public static final String INPUT3 = "input3";
	public static final String INPUT4 = "input4";
	public static final String INPUT5 = "input5";
	
	public static final String SESSION_USER = "session_user";
	
	private Map<String, String> param;

	public void setParam(Map<String, String> param) {
		this.param = param;
	}
	
	public Map<String, String> getParam() {
		if (this.param == null) this.param = new HashMap<String, String>();
		return this.param;
	}
	
	public String getParameter(String key) {
		return this.param.get(key);
	}
}
